package edu.sctu.zhuyingzhi.month201505.day20150505.homework;

/**
 * Created by user13 on 2015/5/5.
 */
public class Print {
    public static void main(String[] args) {

        Dog2 dog2=new Dog2();

        dog2.getAction();
        dog2.getColor();
        dog2.getSize();
        dog2.getinfo(new DogInterface() {
            @Override
            public void get(String color, int size, String action) {
                System.out.println("color="+color+" size="+size+" action="+action);
            }
        });


    }
}
